import {post} from "@/lib/api"
import {LoginRequest, LoginResponse} from "@/net/models/auth.model";

export const login = (data: LoginRequest) => {
    return post<LoginResponse>("/user/login", data);
}
